home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1999 #2 / Amiga Plus CD - 1999 - No. 2.iso / System-Boost / Workbench / Reboot / SmallReboot / sReboot.c < prev    next >
C/C++ Source or Header  |  1998-06-17  |  727b  |  39 lines

  1.  
  2. /*
  3. **
  4. **  $VER: sReboot.c 1.1 (4.6.1998)
  5. **  sReboot 1.1
  6. **
  7. **  Super-small reboot
  8. **
  9. **  (C) Copyright 1998 by Roland 'Gizzy' Mainz
  10. **          All Rights Reserved
  11. **
  12. */
  13.  
  14. /* amiga prototypes */
  15. #include <clib/exec_protos.h>
  16.  
  17. /* amiga pragmas */
  18. #include <pragmas/exec_pragmas.h>
  19.  
  20. /* version string */
  21. #include "sReboot_rev.h"
  22.  
  23. /* version_string */
  24. STRPTR versionstring = VERSTAG; /* Removing this would save additional ~68 bytes,
  25.                                  * but I don't like tools without version strings.
  26.                                  */
  27.  
  28.  
  29. /* main program entry */
  30. void main( void )
  31. {
  32.     struct Library *SysBase = (*((struct Library **)4UL));
  33.  
  34.     /* BUG: We miss a version check here... */
  35.     ColdReboot();
  36. }
  37.  
  38.  
  39.